package com.oa.pm.service;

import com.oa.core.PageResult;
import com.oa.core.utils.request.RFormParam;
import com.oa.pm.dto.EmploymentRecordListDTO;
import com.oa.pm.entity.EmploymentRecord;
import com.baomidou.mybatisplus.service.IService;
import com.oa.pm.vo.EmploymentRecordListVO;

/**
 * <p>
 * 任职记录表 服务类
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface IEmploymentRecordService extends IService<EmploymentRecord> {
    /**
     * 自定义分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResult<EmploymentRecord> findList(Integer pageNum, Integer pageSize);

    /**
    * 根据id查询
    */
    EmploymentRecord findEmploymentRecordById(String id);

    PageResult<EmploymentRecordListVO> findEmploymentRecordList(EmploymentRecordListDTO employmentRecordListDTO);
}
